<?php
header("Content-Type:text/html; charset=utf-8");

$date=date("Ymdhis");

$file=$_FILES['file'];
$file_name=$date;

if(move_uploaded_file("$file[tmp_name]","../resume/$file_name")) echo "文件上传成功";
?>
